<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html >
<HEAD>
<title>用户注册</title>
<style>
.txtStyle{
    width:300px;
    height:25px;
    border:1px solid #CCCCCC;
    font-family:Arial, Helvetica, sans-serif;
    font-size:20px;
    margin-left:10px;
}
</style>
</head>

<body>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<?php echo form_open_multipart('/upload/up/');?>
<table width="472"  border="0" cellpadding="0" cellspacing="1" bgcolor="#EEEEEE" align="center">
  <tr>
    <td width="136" height="40" align="center" bgcolor="#FFFFFF">文件</td>
    <td width="333" bgcolor="#FFFFFF">
    <input type="file" name="file1" />
    </td>
  </tr>
  <tr>
    <td height="40" align="center" bgcolor="#FFFFFF"></td>
    <td bgcolor="#FFFFFF"><input type="submit"  value="提交" style="margin-left:10px;" /></td>
  </tr>
</table>
<?php echo form_close();?>
<?php if(isset($upload_data)):?>
<img src ="<?php echo base_url().'assets/images/upload/'.$upload_data['file_name'];?>" />
<?php endif;?>
<?php if(isset($error)) echo $error;?>
</body>
</html>